/* tslint:disable */
/* eslint-disable */

import React, { CSSProperties, SVGAttributes, FunctionComponent } from 'react';
import { getIconColor } from './helper';

interface Props extends Omit<SVGAttributes<SVGElement>, 'color'> {
  size?: number;
  color?: string | string[];
}

const DEFAULT_STYLE: CSSProperties = {
  display: 'block',
};

const IconStarCircle: FunctionComponent<Props> = ({ size, color, style: _style, ...rest }) => {
  const style = _style ? { ...DEFAULT_STYLE, ..._style } : DEFAULT_STYLE;

  return (
    <svg viewBox="0 0 1024 1024" width={size + 'px'} height={size + 'px'} style={style} {...rest}>
      <path
        d="M512 96c229.76 0 416 186.24 416 416s-186.24 416-416 416S96 741.76 96 512 282.24 96 512 96z m0 64C317.6 160 160 317.6 160 512s157.6 352 352 352 352-157.6 352-352S706.4 160 512 160z m-25.824 163.264a28.8 28.8 0 0 1 51.648 0l45.024 91.2 100.672 14.656a28.8 28.8 0 0 1 18.464 46.4l-2.496 2.72-72.864 71.008 17.216 100.256a28.8 28.8 0 0 1-38.592 31.84l-3.2-1.472L512 632.512l-90.048 47.36a28.8 28.8 0 0 1-42.176-26.88l0.384-3.488 17.184-100.256-72.832-71.04a28.8 28.8 0 0 1 12.352-48.32l3.616-0.768 100.64-14.656zM512 401.056l-25.92 52.48a28.8 28.8 0 0 1-21.664 15.776l-57.92 8.384 41.92 40.864a28.8 28.8 0 0 1 8.672 21.504l-0.384 4-9.92 57.664 51.84-27.2a28.8 28.8 0 0 1 23.104-1.632l3.68 1.6 51.776 27.232-9.888-57.664a28.8 28.8 0 0 1 5.6-22.496l2.688-3.008 41.888-40.864-57.888-8.384a28.8 28.8 0 0 1-19.936-12.704l-1.76-3.04L512 401.056z"
        fill={getIconColor(color, 0, '#333333')}
      />
    </svg>
  );
};

IconStarCircle.defaultProps = {
  size: 18,
};

export default IconStarCircle;
